home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / MacSNMP / MacSNMP Dev Docs / MacSNMP Programmer’s Guide / MacSNMP Programmer’s Guide.rsrc / TOC#_1000 < prev   
Unknown  |  1994-11-21  |  2.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 70 08 43 6f 6e 74 65 | 6e 74 73 18 50 72 65 66 |.p.Conte|nts.Pref|
|00000010| 61 63 65 09 41 62 6f 75 | 74 20 54 68 69 73 20 47 |ace.Abou|t This G|
|00000020| 75 69 64 65 15 57 68 61 | 74 20 79 6f 75 20 6e 65 |uide.Wha|t you ne|
|00000030| 65 64 20 74 6f 20 6b 6e | 6f 77 1c 57 68 61 74 d5 |ed to kn|ow.What.|
|00000040| 73 20 63 6f 76 65 72 65 | 64 20 69 6e 20 74 68 69 |s covere|d in thi|
|00000050| 73 20 67 75 69 64 65 14 | 46 6f 72 20 6d 6f 72 65 |s guide.|For more|
|00000060| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 1b 4f 74 68 | informa|tion.Oth|
|00000070| 65 72 20 4d 61 63 53 4e | 4d 50 20 64 6f 63 75 6d |er MacSN|MP docum|
|00000080| 65 6e 74 61 74 69 6f 6e | 1e 42 6f 6f 6b 73 20 61 |entation|.Books a|
|00000090| 62 6f 75 74 20 41 70 70 | 6c 65 54 61 6c 6b 20 6e |bout App|leTalk n|
|000000a0| 65 74 77 6f 72 6b 73 0e | 53 4e 4d 50 20 64 6f 63 |etworks.|SNMP doc|
|000000b0| 75 6d 65 6e 74 73 16 44 | 65 76 65 6c 6f 70 65 72 |uments.D|eveloper|
|000000c0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 0f 31 09 | informa|tion .1.|
|000000d0| 49 6e 74 72 6f 64 75 63 | 74 69 6f 6e 20 17 53 4e |Introduc|tion .SN|
|000000e0| 4d 50 20 6e 65 74 77 6f | 72 6b 20 6d 61 6e 61 67 |MP netwo|rk manag|
|000000f0| 65 6d 65 6e 74 0a 4f 70 | 65 72 61 74 69 6f 6e 73 |ement.Op|erations|
|00000100| 0b 43 6f 6d 6d 75 6e 69 | 74 69 65 73 08 4d 65 73 |.Communi|ties.Mes|
|00000110| 73 61 67 65 73 0e 49 6d | 70 6c 65 6d 65 6e 74 61 |sages.Im|plementa|
|00000120| 74 69 6f 6e 1c 4d 61 6e | 61 67 65 6d 65 6e 74 20 |tion.Man|agement |
|00000130| 49 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 42 61 73 65 |Informat|ion Base|
|00000140| 73 1d 46 69 67 75 72 65 | 20 31 2d 31 20 20 4e 61 |s.Figure| 1-1 Na|
|00000150| 6d 69 6e 67 20 6f 62 6a | 65 63 74 20 49 44 73 06 |ming obj|ect IDs.|
|00000160| 41 67 65 6e 74 73 13 4f | 76 65 72 76 69 65 77 20 |Agents.O|verview |
|00000170| 6f 66 20 4d 61 63 53 4e | 4d 50 10 54 68 65 20 53 |of MacSN|MP.The S|
|00000180| 4e 4d 50 20 4d 61 6e 61 | 67 65 72 25 46 69 67 75 |NMP Mana|ger%Figu|
|00000190| 72 65 20 31 2d 32 20 20 | 54 68 65 20 63 6f 6d 70 |re 1-2 |The comp|
|000001a0| 6f 6e 65 6e 74 73 20 6f | 66 20 4d 61 63 53 4e 4d |onents o|f MacSNM|
|000001b0| 50 0f 54 68 65 20 4d 61 | 63 53 4e 4d 50 20 41 50 |P.The Ma|cSNMP AP|
|000001c0| 49 0c 4d 61 63 53 4e 4d | 50 20 4d 49 42 73 0e 4d |I.MacSNM|P MIBs.M|
|000001d0| 61 63 53 4e 4d 50 20 61 | 67 65 6e 74 73 2e 48 61 |acSNMP a|gents.Ha|
|000001e0| 72 64 77 61 72 65 20 61 | 6e 64 20 73 6f 66 74 77 |rdware a|nd softw|
|000001f0| 61 72 65 20 72 65 71 75 | 69 72 65 6d 65 6e 74 73 |are requ|irements|
|00000200| 20 66 6f 72 20 4d 61 63 | 53 4e 4d 50 1d 32 09 54 | for Mac|SNMP.2.T|
|00000210| 68 65 20 53 68 61 72 65 | 64 20 4c 69 62 72 61 72 |he Share|d Librar|
|00000220| 79 20 4d 61 6e 61 67 65 | 72 20 1f 53 68 61 72 65 |y Manage|r .Share|
|00000230| 64 20 4c 69 62 72 61 72 | 79 20 4d 61 6e 61 67 65 |d Librar|y Manage|
|00000240| 72 20 63 6f 6e 63 65 70 | 74 73 29 44 79 6e 61 6d |r concep|ts)Dynam|
|00000250| 69 63 20 6c 69 6e 6b 69 | 6e 67 2c 20 6c 6f 61 64 |ic linki|ng, load|
|00000260| 69 6e 67 2c 20 61 6e 64 | 20 69 6e 68 65 72 69 74 |ing, and| inherit|
|00000270| 61 6e 63 65 10 53 68 61 | 72 65 64 20 6c 69 62 72 |ance.Sha|red libr|
|00000280| 61 72 69 65 73 25 4f 62 | 6a 65 63 74 2d 6f 72 69 |aries%Ob|ject-ori|
|00000290| 65 6e 74 65 64 20 70 72 | 6f 67 72 61 6d 6d 69 6e |ented pr|ogrammin|
|000002a0| 67 20 63 6f 6e 63 65 70 | 74 73 20 13 4f 62 6a 65 |g concep|ts .Obje|
|000002b0| 63 74 73 20 61 6e 64 20 | 63 6c 61 73 73 65 73 1c |cts and |classes.|
|000002c0| 4d 65 6d 62 65 72 20 61 | 6e 64 20 76 69 72 74 75 |Member a|nd virtu|
|000002d0| 61 6c 20 66 75 6e 63 74 | 69 6f 6e 73 23 41 64 76 |al funct|ions#Adv|
|000002e0| 61 6e 63 65 64 20 6f 62 | 6a 65 63 74 2d 6f 72 69 |anced ob|ject-ori|
|000002f0| 65 6e 74 65 64 20 70 72 | 69 6e 63 69 70 6c 65 73 |ented pr|inciples|
|00000300| 23 53 68 61 72 65 64 20 | 4c 69 62 72 61 72 79 20 |#Shared |Library |
|00000310| 4d 61 6e 61 67 65 72 20 | 69 6e 73 74 61 6c 6c 61 |Manager |installa|
|00000320| 74 69 6f 6e 11 33 09 54 | 68 65 20 4d 61 63 53 4e |tion.3.T|he MacSN|
|00000330| 4d 50 20 41 50 49 0c 53 | 4e 4d 50 20 63 6c 61 73 |MP API.S|NMP clas|
|00000340| 73 65 73 0d 54 53 4e 4d | 50 4d 61 6e 61 67 65 72 |ses.TSNM|PManager|
|00000350| 20 0b 54 53 4e 4d 50 41 | 67 65 6e 74 20 09 54 53 | .TSNMPA|gent .TS|
|00000360| 4e 4d 50 56 61 72 20 0c | 54 44 65 76 53 4e 4d 50 |NMPVar .|TDevSNMP|
|00000370| 56 61 72 20 0d 54 53 4e | 4d 50 43 6f 6e 73 6f 6c |Var .TSN|MPConsol|
|00000380| 65 20 1f 50 61 72 61 6d | 65 74 65 72 73 20 75 73 |e .Param|eters us|
|00000390| 65 64 20 69 6e 20 41 50 | 49 20 72 6f 75 74 69 6e |ed in AP|I routin|
|000003a0| 65 73 0a 41 53 4e 54 61 | 67 54 79 70 65 0b 4f 62 |es.ASNTa|gType.Ob|
|000003b0| 6a 65 63 74 20 20 49 44 | 73 0b 4d 49 42 56 61 72 |ject ID|s.MIBVar|
|000003c0| 69 61 62 6c 65 06 6d 69 | 62 6c 65 74 0b 50 61 63 |iable.mi|blet.Pac|
|000003d0| 6b 65 74 50 69 65 63 65 | 0a 53 65 74 53 74 61 67 |ketPiece|.SetStag|
|000003e0| 65 20 09 09 53 4d 49 41 | 63 63 65 73 73 0c 53 4e |e ..SMIA|ccess.SN|
|000003f0| 4d 50 54 72 61 70 43 6f | 64 65 09 54 49 41 64 64 |MPTrapCo|de.TIAdd|
|00000400| 72 65 73 73 06 56 61 72 | 42 75 66 16 53 4e 4d 50 |ress.Var|Buf.SNMP|
|00000410| 20 4d 61 6e 61 67 65 72 | 20 66 75 6e 63 74 69 6f | Manager| functio|
|00000420| 6e 73 08 41 64 64 47 72 | 6f 75 70 08 53 65 6e 64 |ns.AddGr|oup.Send|
|00000430| 54 72 61 70 09 41 64 64 | 4d 49 42 56 61 72 0c 52 |Trap.Add|MIBVar.R|
|00000440| 65 67 69 73 74 65 72 44 | 6f 6e 65 0b 47 65 74 49 |egisterD|one.GetI|
|00000450| 46 69 6e 64 65 78 20 0f | 41 67 65 6e 74 20 66 75 |Findex .|Agent fu|
|00000460| 6e 63 74 69 6f 6e 73 0d | 49 6e 69 74 53 4e 4d 50 |nctions.|InitSNMP|
|00000470| 41 67 65 6e 74 0e 47 65 | 74 41 67 65 6e 74 46 53 |Agent.Ge|tAgentFS|
|00000480| 53 70 65 63 12 56 61 72 | 69 61 62 6c 65 20 66 75 |Spec.Var|iable fu|
|00000490| 6e 63 74 69 6f 6e 73 0b | 49 6e 69 74 53 4e 4d 50 |nctions.|InitSNMP|
|000004a0| 56 61 72 19 56 61 72 69 | 61 62 6c 65 20 6d 65 6d |Var.Vari|able mem|
|000004b0| 62 65 72 20 66 75 6e 63 | 74 69 6f 6e 73 0b 47 65 |ber func|tions.Ge|
|000004c0| 74 56 61 72 69 61 62 6c | 65 0b 53 65 74 56 61 72 |tVariabl|e.SetVar|
|000004d0| 69 61 62 6c 65 1a 56 61 | 72 69 61 62 6c 65 20 74 |iable.Va|riable t|
|000004e0| 61 62 6c 65 73 20 69 6e | 20 4d 61 63 53 4e 4d 50 |ables in| MacSNMP|
|000004f0| 2b 46 69 67 75 72 65 20 | 33 2d 31 20 20 6c 6c 61 |+Figure |3-1 lla|
|00000500| 70 54 61 62 6c 65 2c 20 | 61 20 73 69 6e 67 6c 65 |pTable, |a single|
|00000510| 2d 69 6e 64 65 78 20 74 | 61 62 6c 65 28 46 69 67 |-index t|able(Fig|
|00000520| 75 72 65 20 33 2d 32 20 | 20 61 61 72 70 54 61 62 |ure 3-2 | aarpTab|
|00000530| 6c 65 2c 20 61 20 74 77 | 6f 2d 69 6e 64 65 78 20 |le, a tw|o-index |
|00000540| 74 61 62 6c 65 11 43 6f | 6e 73 6f 6c 65 20 66 75 |table.Co|nsole fu|
|00000550| 6e 63 74 69 6f 6e 73 10 | 52 65 63 65 69 76 65 52 |nctions.|ReceiveR|
|00000560| 61 77 50 61 63 6b 65 74 | 09 4c 6f 63 61 6c 20 41 |awPacket|.Local A|
|00000570| 50 49 4e 46 69 67 75 72 | 65 20 33 2d 33 20 20 44 |PINFigur|e 3-3 D|
|00000580| 61 74 61 20 73 74 72 75 | 63 74 75 72 65 20 69 6e |ata stru|cture in|
|00000590| 20 62 75 66 66 65 72 20 | 72 65 74 75 72 6e 65 64 | buffer |returned|
|000005a0| 20 66 72 6f 6d 20 74 68 | 65 20 47 65 74 56 61 72 | from th|e GetVar|
|000005b0| 69 61 62 6c 65 49 6e 66 | 6f 20 72 6f 75 74 69 6e |iableInf|o routin|
|000005c0| 65 22 34 09 4c 69 6e 6b | 2d 4c 61 79 65 72 20 49 |e"4.Link|-Layer I|
|000005d0| 6e 74 65 72 66 61 63 65 | 20 4d 61 6e 61 67 65 6d |nterface| Managem|
|000005e0| 65 6e 74 20 0f 44 72 69 | 76 65 72 20 72 6f 75 74 |ent .Dri|ver rout|
|000005f0| 69 6e 65 73 14 47 61 74 | 68 65 72 69 6e 67 20 73 |ines.Gat|hering s|
|00000600| 74 61 74 69 73 74 69 63 | 73 18 38 30 32 2e 33 20 |tatistic|s.802.3 |
|00000610| 69 6e 74 65 72 66 61 63 | 65 20 72 6f 75 74 69 6e |interfac|e routin|
|00000620| 65 73 21 47 65 74 74 69 | 6e 67 20 38 30 32 2e 33 |es!Getti|ng 802.3|
|00000630| 20 63 6f 6e 74 72 6f 6c | 20 69 6e 66 6f 72 6d 61 | control| informa|
|00000640| 74 69 6f 6e 21 53 65 74 | 74 69 6e 67 20 38 30 32 |tion!Set|ting 802|
|00000650| 2e 33 20 63 6f 6e 74 72 | 6f 6c 20 69 6e 66 6f 72 |.3 contr|ol infor|
|00000660| 6d 61 74 69 6f 6e 22 54 | 61 62 6c 65 20 34 2d 31 |mation"T|able 4-1|
|00000670| 20 20 45 4e 65 74 53 65 | 74 44 6f 74 33 45 6e 74 | ENetSe|tDot3Ent|
|00000680| 72 79 20 76 61 6c 75 65 | 73 27 51 75 65 72 79 69 |ry value|s'Queryi|
|00000690| 6e 67 20 73 74 61 74 69 | 73 74 69 63 73 20 6f 6e |ng stati|stics on|
|000006a0| 20 38 30 32 2e 33 20 69 | 6e 74 65 72 66 61 63 65 | 802.3 i|nterface|
|000006b0| 73 31 51 75 65 72 79 69 | 6e 67 20 63 6f 6c 6c 69 |s1Queryi|ng colli|
|000006c0| 73 69 6f 6e 20 73 74 61 | 74 69 73 74 69 63 73 20 |sion sta|tistics |
|000006d0| 6f 6e 20 38 30 32 2e 33 | 20 69 6e 74 65 72 66 61 |on 802.3| interfa|
|000006e0| 63 65 73 18 38 30 32 2e | 35 20 69 6e 74 65 72 66 |ces.802.|5 interf|
|000006f0| 61 63 65 20 72 6f 75 74 | 69 6e 65 73 21 47 65 74 |ace rout|ines!Get|
|00000700| 74 69 6e 67 20 38 30 32 | 2e 35 20 63 6f 6e 74 72 |ting 802|.5 contr|
|00000710| 6f 6c 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 21 53 |ol infor|mation!S|
|00000720| 65 74 74 69 6e 67 20 38 | 30 32 2e 35 20 63 6f 6e |etting 8|02.5 con|
|00000730| 74 72 6f 6c 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |trol inf|ormation|
|00000740| 22 54 61 62 6c 65 20 34 | 2d 32 20 20 54 6f 6b 6e |"Table 4|-2 Tokn|
|00000750| 53 65 74 44 6f 74 35 45 | 6e 74 72 79 20 76 61 6c |SetDot5E|ntry val|
|00000760| 75 65 73 27 51 75 65 72 | 79 69 6e 67 20 53 74 61 |ues'Quer|ying Sta|
|00000770| 74 69 73 74 69 63 73 20 | 6f 6e 20 38 30 32 2e 35 |tistics |on 802.5|
|00000780| 20 69 6e 74 65 72 66 61 | 63 65 73 2e 51 75 65 72 | interfa|ces.Quer|
|00000790| 79 69 6e 67 20 74 69 6d | 65 72 20 69 6e 66 6f 72 |ying tim|er infor|
|000007a0| 6d 61 74 69 6f 6e 20 6f | 6e 20 38 30 32 2e 35 20 |mation o|n 802.5 |
|000007b0| 69 6e 74 65 72 66 61 63 | 65 73 1e 53 74 72 75 63 |interfac|es.Struc|
|000007c0| 74 75 72 65 73 20 66 6f | 72 20 64 72 69 76 65 72 |tures fo|r driver|
|000007d0| 20 72 6f 75 74 69 6e 65 | 73 12 4c 41 50 53 74 61 | routine|s.LAPSta|
|000007e0| 74 73 20 73 74 72 75 63 | 74 75 72 65 14 45 74 68 |ts struc|ture.Eth|
|000007f0| 65 72 6e 65 74 20 64 65 | 66 69 6e 69 74 69 6f 6e |ernet de|finition|
|00000800| 73 13 44 6f 74 33 45 6e | 74 72 79 20 73 74 72 75 |s.Dot3En|try stru|
|00000810| 63 74 75 72 65 1a 44 6f | 74 33 45 6e 74 72 79 43 |cture.Do|t3EntryC|
|00000820| 6f 6e 74 72 6f 6c 20 73 | 74 72 75 63 74 75 72 65 |ontrol s|tructure|
|00000830| 18 44 6f 74 33 53 74 61 | 74 73 45 6e 74 72 79 20 |.Dot3Sta|tsEntry |
|00000840| 73 74 72 75 63 74 75 72 | 65 17 44 6f 74 33 43 6f |structur|e.Dot3Co|
|00000850| 6c 6c 45 6e 74 72 79 20 | 73 74 72 75 63 74 75 72 |llEntry |structur|
|00000860| 65 16 54 6f 6b 65 6e 20 | 52 69 6e 67 20 64 65 66 |e.Token |Ring def|
|00000870| 69 6e 69 74 69 6f 6e 73 | 13 44 6f 74 35 45 6e 74 |initions|.Dot5Ent|
|00000880| 72 79 20 73 74 72 75 63 | 74 75 72 65 1a 44 6f 74 |ry struc|ture.Dot|
|00000890| 35 45 6e 74 72 79 43 6f | 6e 74 72 6f 6c 20 73 74 |5EntryCo|ntrol st|
|000008a0| 72 75 63 74 75 72 65 18 | 44 6f 74 35 53 74 61 74 |ructure.|Dot5Stat|
|000008b0| 73 45 6e 74 72 79 20 73 | 74 72 75 63 74 75 72 65 |sEntry s|tructure|
|000008c0| 18 44 6f 74 35 54 69 6d | 65 72 45 6e 74 72 79 20 |.Dot5Tim|erEntry |
|000008d0| 73 74 72 75 63 74 75 72 | 65 1a 35 09 42 75 69 6c |structur|e.5.Buil|
|000008e0| 64 69 6e 67 20 61 20 53 | 61 6d 70 6c 65 20 41 67 |ding a S|ample Ag|
|000008f0| 65 6e 74 20 10 42 65 66 | 6f 72 65 20 79 6f 75 20 |ent .Bef|ore you |
|00000900| 62 65 67 69 6e 0f 52 65 | 71 75 69 72 65 64 20 74 |begin.Re|quired t|
|00000910| 6f 6f 6c 73 20 0e 52 65 | 71 75 69 72 65 64 20 66 |ools .Re|quired f|
|00000920| 69 6c 65 73 0d 48 65 61 | 64 65 72 20 66 69 6c 65 |iles.Hea|der file|
|00000930| 73 20 0d 53 6f 75 72 63 | 65 20 66 69 6c 65 73 20 |s .Sourc|e files |
|00000940| 11 42 75 69 6c 64 69 6e | 67 20 61 6e 20 61 67 65 |.Buildin|g an age|
|00000950| 6e 74 19 43 6f 64 65 20 | 66 6f 72 20 74 68 65 20 |nt.Code |for the |
|00000960| 73 61 6d 70 6c 65 20 61 | 67 65 6e 74 17 56 61 72 |sample a|gent.Var|
|00000970| 69 61 62 6c 65 73 20 61 | 6e 64 20 63 6f 6e 73 74 |iables a|nd const|
|00000980| 61 6e 74 73 0b 43 6f 6e | 73 74 72 75 63 74 6f 72 |ants.Con|structor|
|00000990| 0a 44 65 73 74 72 75 63 | 74 6f 72 08 47 6c 6f 73 |.Destruc|tor.Glos|
|000009a0| 73 61 72 79 | |sary | |
+--------+-------------------------+-------------------------+--------+--------+